<?php

namespace App\Repositories;

use App\Models\Slideshow;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class SlideshowRepository
 * @package App\Repositories
 * @version September 14, 2017, 7:32 am UTC
 *
 * @method Slideshow findWithoutFail($id, $columns = ['*'])
 * @method Slideshow find($id, $columns = ['*'])
 * @method Slideshow first($columns = ['*'])
*/
class SlideshowRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'type',
        'name',
        'skip_id',
        'skip_url',
        'image',
        'sort'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Slideshow::class;
    }
}
